<?php
defined('BASEPATH') or exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Welcome to CodeIgniter</title>

  <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/bootstrap/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="/bootstrap/css/plugins/iCheck/custom.css" rel="stylesheet">


    <link href="/bootstrap/css/animate.css" rel="stylesheet">
    <link href="/bootstrap/css/style.css" rel="stylesheet">

    <link href="/bootstrap/css/plugins/datapicker/bootstrap-datetimepicker.min.css" rel="stylesheet">
    <link href="/bootstrap/css/plugins/steps/jquery.steps.css" rel="stylesheet">
    <link href="/bootstrap/css/plugins/steps/jquery.steps.css" rel="stylesheet">
    <link href="/bootstrap/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="/bootstrap/css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="/bootstrap/css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
    <script src="/bootstrap/js/jquery-2.1.1.js"></script>
</head>

<body>

<div id="wrapper">

    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                            <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">CI管理平台</strong>
                             </span> <span class="text-muted text-xs block"><?php echo $_SESSION['user']; ?> <b class="caret"></b></span> </span> </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a href="<?php echo site_url('user/logout'); ?>" >退出系统</a></li>
                        </ul>
                    </div>
                    <div class="logo-element">
                        IN+
                    </div>
                </li>
                        <li >
                            <a href="<?php echo site_url('user/index'); ?>" ><i class="fa fa-th-large"></i> <span class="nav-label">用户管理</span></a>
                        </li>
            </ul>

        </div>
    </nav>

    <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top white-bg" role="navigation" style="margin-bottom: 0">

                <ul class="nav navbar-top-links navbar-right">
                    <li>
                        <a href="<?php echo site_url('user/logout'); ?>">
                            <i class="fa fa-sign-out"></i> 退出系统
                        </a>
                    </li>
                </ul>

            </nav>
        </div>
        <?php echo $content; ?>
        <div class="footer">
            <div class="pull-right">
                <small><a href="http://www.edoctor.cn" target="_blank">技术支持</a></small>
            </div>
            <div>
                <small>Copyright (C) <?php echo date("Y", time()); ?> by Finn Healthcare Communications. All Rights Reserved.</small>
            </div>
        </div>

    </div>
</div>

<!-- Mainly scripts -->
<script src="/bootstrap/js/bootstrap.min.js"></script>
<script src="/bootstrap/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/bootstrap/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="/bootstrap/js/plugins/datapicker/bootstrap-datetimepicker.min.js"></script>
<script src="/bootstrap/js/plugins/datapicker/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<!-- Steps -->
<script src="/bootstrap/js/plugins/staps/jquery.steps.min.js"></script>
<!-- Custom and plugin javascript -->
<script src="/bootstrap/js/inspinia.js"></script>
<script src="/bootstrap/js/plugins/pace/pace.min.js"></script>
<!-- iCheck -->
<script src="/bootstrap/js/plugins/iCheck/icheck.min.js"></script>
<!-- Steps -->
<script src="/bootstrap/js/plugins/staps/jquery.steps.min.js"></script>
<!-- SUMMERNOTE -->
<script src="/bootstrap/js/plugins/summernote/summernote.min.js"></script>
<script src="/bootstrap/js/common.js"></script>

</body>

</html>